<template>
  子组件{{ name }}={{ age }}
  <hr />
  <SonSon></SonSon>
</template>

<script>
import SonSon from './sonSon.vue'
export default {
  components: { SonSon },
  inject: ['name', 'age'],
}
</script>

<style scoped></style>
